package com.mswork.mes.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mswork.common.annotation.Excel;
import com.mswork.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 辅料工单表对象 tb_store_order_auxiliary
 *
 * @author ruoyi
 * @date 2025-04-07
 */
public class StoreOrderAuxiliary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 辅料清单主键ID
     */
    private Long id;

    /**
     * 主键ID（自增）
     */
    private Long auxiliaryId;

    /**
     * 关联工单ID
     */
    @Excel(name = "关联工单ID")
    private Long orderId;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String auxiliaryType;

    /**
     * 辅料名称
     */
    @Excel(name = "辅料名称")
    private String name;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private String model;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specifications;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long num;

    /**
     * 数据状态1 删除
     */
    @Excel(name = "数据状态1 删除")
    private String status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setAuxiliaryId(Long auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
    }

    public Long getAuxiliaryId() {
        return auxiliaryId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getSpecifications() {
        return specifications;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getAuxiliaryType() {
        return auxiliaryType;
    }

    public void setAuxiliaryType(String auxiliaryType) {
        this.auxiliaryType = auxiliaryType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("auxiliaryId", getAuxiliaryId())
                .append("orderId", getOrderId())
                .append("name", getName())
                .append("model", getModel())
                .append("specifications", getSpecifications())
                .append("num", getNum())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
